package com.sh.common.error;

/**
 * 
 * NOTE: 自定义系统异常
 *
 * @author: king
 * @date: 2019年3月31日
 *
 */
public class SystemException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private String code;
	private String message;
	
	public SystemException(String code, String message) {
		super();
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	@Override
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
